package ooday03.Animal02;

public class Bird extends Animal implements Fly{
    Bird(String name ,String kind){
        super(name ,kind);

    }

    @Override
    void run() {
        System.out.println("我是"+kind+"科动物"+"我可以跑,但是我比较喜欢飞");
    }

    @Override
    public void fly() {
        System.out.println("我叫"+name+"我是"+kind+"科动物,"+"我可以飞");
    }
}
